<?php
/**
 * Dcolors,The Community Application for Web
 *
 * Control class
 *
 * Not free software
 * @author     chopin xiao <x@sunsne.com>
 * @copyright  2009 The Dcolors Group
 * @version    SVN: $Id$
 **/
 
abstract class Control extends Init
{
	public $isview = true;
	public function LoadView()
	{
		Template::display();
	}
	public function __destruct()
	{
		if($this->isview)
		{
			$this->LoadView();
		}
			
	}
}
?>